package com.gh.pattern.proxy.staticed;

public class Huangniu {

    private Person person;

    public Huangniu(Person person) {
        this.person = person;
    }

    public void buyTicket() {
        System.out.println("根据你的要求给你抢票");
        this.person.buyTicket();
        System.out.println("看看运气是否够好");
    }
}
